package two2;

import java.util.Scanner;

public class sangeshupaixu {
    public static void main(String[] args) {
        int a,b,c,d;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入三个数");
        a= scanner.nextInt();
        b= scanner.nextInt();
        c= scanner.nextInt();
        if (a>b){
            d=a;a=b;b=d;
        }
        if (a>c){
            d=a;a=b;b=d;
        }
        if (b>c){
            d=b;b=c;c=d;
        }
        System.out.println(+a+"\t"+b+"\t"+c);
    }
}
